<?php
namespace App\Http\Controllers\admin\auth;
use App\Http\Controllers\Controller;
use App\Model\service\admin\AdminUserLogic;
use Illuminate\Http\Request;

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/25
 * Time: 10:32
 */
class AdminUserController extends Controller
{
    public function listAdminUser(){

    }

    public function login(Request $request){
        $data = $request->input();
        $logic = new AdminUserLogic();
        $result = $logic->login($data);
        return response()->json($result,$result['status']);
    }

    public function logout(){

    }


}